﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Prism.ViewModel;

namespace MultiBindingConverter
{
    public class MainWindowViewModel : NotificationObject
    {
        private string test;
        private bool isUpperCase;

        public string Test
        {
            get
            {
                return test;
            }
            set
            {
                test = value;
                RaisePropertyChanged(() => Test);
            }
        }

        public bool IsUpperCase
        {
            get
            {
                return isUpperCase;
            }
            set
            {
                isUpperCase = value;
                RaisePropertyChanged(() => IsUpperCase);
            }
        }

        public MainWindowViewModel()
        {
            Test = "This is a test";
            IsUpperCase = false;
        }
    }
}
